# Maintainer: Valery Kartel <valery.kartel@gmail.com>
# Contributor: Valery Kartel <valery.kartel@gmail.com>
pkgname=py3-botocore
# Verify required version from py3-boto3 on this package before upgrading
pkgver=1.17.32
pkgrel=0
pkgdesc="The low-level, core functionality of Boto3"
url="https://github.com/boto/botocore"
arch="noarch"
license="Apache-2.0"
depends="py3-dateutil<3.0 py3-docutils py3-jmespath<1.0.0 py3-urllib3<1.26"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/b/botocore/botocore-$pkgver.tar.gz"
builddir="$srcdir/botocore-$pkgver"

replaces=py-botocore # Backwards compatibility
provides=py-botocore=$pkgver-r$pkgrel # Backwards compatibility

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="f2b808b2cac163102b00909481fc35d9fd4711f4d145a20fa30768600ed84ff632ca70aaa8949817823735f6a8e247c472bf2e2403d044b4e3c0c5bb9a7b8f8a  botocore-1.17.32.tar.gz"
